<?php
/**
 * Created by PhpStorm.
 * User: chenchen
 * Date: 2015/1/13
 * Time: 23:23
 */

defined('InTuntronKJ') or exit('Access Invalid!');
class RefreshGamePointDataControl extends BaseLotteryHallControl
{
    public function indexOp()
    {

        $user_model = Model('member');
        $userinfo = $user_model->getMemberInfo(array('uid' => $_SESSION['uid']));
        $_SESSION['coin'] = $userinfo['coin'];
        echo('{"GamePoint":"' . $userinfo['coin'] . '","AvailablePoint":"' . $userinfo['score'] . '","FreezePoint":"' . $userinfo['fcoin'] . '"}');
        exit();
    }

}
